module AutoBase
  module Validate
    class IsA < Base
      def validate(flag)
        (@validatee.is_a?(@expectation) == flag) || validate_message(
          @validatee, :is_a, @expectation
        )
      end
    end
  end
end